$(".ct1_input1").css("outline","none")
$(".ct2_body_right_nav4").click(function(e){
	$(".ct2_body_right_nav4_bk").css("border","1px solid #999999");
	if(e.target.nodeName=="SPAN" ||e.target.nodeName=="IMG"){
		$(e.target).parent().css("border","1px solid #ca151d");
	}else if(e.target.nodeName=="DIV"){
		$(e.target).css("border","1px solid #ca151d");
	}
})
$(".ct2_body_right_nav5_right>ul").click(e=>{
	$(".ct2_body_right_nav5_right>ul>li").css("border","1px solid #ccc");
	if(e.target.nodeName=="P"){
		$(e.target).parent().css("border","1px solid #ca151d");
	}else if(e.target.nodeName=="LI"){
		$(e.target).css("border","1px solid #ca151d");
	}
})
$(".ct2_body_right_nav6_right>ul").click(e=>{
	$(".ct2_body_right_nav6_right>ul>li").css("border","1px solid #ccc");
	if(e.target.nodeName=="P"){
		$(e.target).parent().css("border","1px solid #ca151d");
	}else if(e.target.nodeName=="LI"){
		$(e.target).css("border","1px solid #ca151d");
	}
})
//$(".ct2_body_right_nav7_right>ul").click(e=>{
//	$(".ct2_body_right_nav7_right>ul>li").css("border","1px solid #ccc");
//	if(e.target.nodeName=="P"){
//		$(e.target).parent().css("border","1px solid #ca151d");
//	}else if(e.target.nodeName=="LI"){
//		$(e.target).css("border","1px solid #ca151d");
//	}
//})
function f1(){
	var btns1=document.querySelectorAll(".ct2_nav8_middle>p>a");
	var inpt1=document.querySelectorAll(".ct2_nav8_middle>input");
	btns1[0].onclick=function(){
		inpt1[0].value=parseInt(inpt1[0].value)+1;
	}
	btns1[1].onclick=function(){
		if(inpt1[0].value>1){
			inpt1[0].value=parseInt(inpt1[0].value)-1;
		}
	}
}
f1();
$(".ct2_body_right_nav2_02_01").mouseover(function(){
	$(".ct2_box_max").css("display","block");
})
$(".ct2_body_right_nav2_02_01").mouseout(function(){
	$(".ct2_box_max").css("display","none");
})
$(".ct2_box_max").mouseover(function(){
	$(".ct2_box_max").css("display","block");
})
$(".ct2_box_max").mouseout(function(){
	$(".ct2_box_max").css("display","none");
})

function f2(){
	var lis1=document.querySelectorAll(".ct2_body_right_nav7_right>ul>li");
	console.log(lis1);
	for(let i=0;i<lis1.length;i++){
		if(i==0||i==2){
			lis1[i].onmouseover=function(){
				this.nextElementSibling.style.display="block";
				this.nextElementSibling.onmouseover=function(){
					this.style.display="block";
				}
				this.nextElementSibling.onmouseout=function(){
					this.style.display="none";
				}
			}
			lis1[i].onmouseout=function(){
				this.nextElementSibling.style.display="none";
				this.nextElementSibling.onmouseover=function(){
					this.style.display="block";
				}
				this.nextElementSibling.onmouseout=function(){
					this.style.display="none";
				}
			}
		}else if(i==1){
			lis1[i].onmouseover=function(){
				this.nextElementSibling.style.display="block";
				this.nextElementSibling.nextElementSibling.style.display="block";
				this.nextElementSibling.onmouseover=function(){
					this.style.display="block";
					this.nextElementSibling.style.display="block";
				}
				this.nextElementSibling.onmouseout=function(){
					this.style.display="none";
				}
				this.nextElementSibling.nextElementSibling.style.display="block";
				this.nextElementSibling.nextElementSibling.onmouseover=function(){
					this.style.display="block";
				}
				this.nextElementSibling.nextElementSibling.onmouseout=function(){
					this.style.display="none";
				}
			}
			lis1[i].onmouseout=function(){
				this.nextElementSibling.style.display="none";
				this.nextElementSibling.nextElementSibling.style.display="none";
				this.nextElementSibling.onmouseover=function(){
					this.style.display="block";
					this.nextElementSibling.style.display="block";
				}
				this.nextElementSibling.onmouseout=function(){
					this.style.display="none";
					this.nextElementSibling.style.display="none";
				}
				this.nextElementSibling.nextElementSibling.onmouseover=function(){
					this.style.display="block";
					this.previousElementSibling.style.display="block";
				}
				this.nextElementSibling.nextElementSibling.onmouseout=function(){
					this.style.display="none";
					this.previousElementSibling.style.display="none";
				}
			}
		}
	}
}
f2();

